const getters = {
    sidebar: state => state.app.sidebar,
    device: state => state.app.device,
    token: state => state.user.token,
    avatar: state => state.user.avatar,
    name: state => state.user.name,
    account: state => state.user.account,
    number: state => state.user.number,
    useNumber: state => state.user.useNumber,
    role: state => state.user.role,
    language: state => state.app.language,
    roles: state => state.user.roles,
    permission_routes: state => state.permission.routes,  //路由列表
    addRouters: state => state.permission.addRouters
}
export default getters
